package com.wly.datapool
{
	import com.wly.datapool.bullet.BulletPool;
	import com.wly.datapool.map.MapPool;
	import com.wly.datapool.monster.MonsterPool;
	import com.wly.datapool.stage.GameStagePool;
	import com.wly.datapool.tower.TowerPool;

	public class DataPool
	{
		private var _mapPool:MapPool;
		private var _gameStagePool:GameStagePool;
		private var _towerPool:TowerPool;
		private var _monsterPool:MonsterPool;
		private var _bulletPool:BulletPool;
		
		public function DataPool()
		{
			initDataPool();
		}
		
		public function initDataPool():void
		{
			_mapPool       = new MapPool;
			_bulletPool    = new BulletPool;
			_towerPool     = new TowerPool;
			_monsterPool   = new MonsterPool;
			_gameStagePool = new GameStagePool;
		}
	}
}